/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pkg5211100027;

/**
 *
 * @author anggit
 */
class orang {

    private String nama;
    private String alamatAsal;

    public orang(String nama, String alamatAsal) {
        this.nama = nama;
        this.alamatAsal = alamatAsal;
    }

    public String print() {
        return ("Nama : " + nama + "\nAlamat asal : " + alamatAsal);
    }
}
